home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / sys / amiga / programmer / 5293 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.7 KB

  1. Path: comma.rhein.de!serpens!not-for-mail
  2. From: mlelstv@serpens.rhein.de (Michael van Elst)
  3. Newsgroups: comp.sys.amiga.programmer
  4. Subject: Re: AddIntServer + VERTB strangeness
  5. Date: 12 Mar 1996 15:51:50 +0100
  6. Organization: dis-
  7. Message-ID: <4i4326$1lh@serpens.rhein.de>
  8. References: <199603120851.IAA51888@poseidon.bfs.unibol.com>
  9. NNTP-Posting-Host: serpens.rhein.de
  10.  
  11. John Girvin <jgirvin@bfs.unibol.com> writes:
  12.  
  13. >How can I ensure that my interrupt server is the *only* one that gets
  14. >called?
  15.  
  16. You must not do this. VBlank servers must allow other servers to run.
  17. Trying to "take over" is not legal. If you want to be so user annoying
  18. you should kill the OS, take over the hardware and require a reboot later.
  19.  
  20. >Its definitely the vertb interrupts that are causing the slowdown, for if
  21. >I bang the intena register the problem goes away. But this kinda defeats
  22. >the purpose of using AddIntServer!
  23.  
  24. It is not the vertb interrupts. It is the tasks that are scheduled from vblank
  25. timers. For example the mouse input and intuiticks are scheduled by the vblank
  26. timer but the events are created by the input.device task. What you are seeing
  27. is the time used by Intuition and the console.device to process the input.
  28.  
  29. >Is there something special about the vertical blank server chain that means
  30. >it ignores the Z-return convention or server priorities?
  31.  
  32. Since you must not disable other vblank servers it doesn't matter wether the
  33. Z-return is actually obeyed. Server priorities _are_ looked at (see the bugs
  34. section for keeping the A0 register valid if you are in front of the graphics
  35. vblank server).
  36.  
  37. Regards,
  38. -- 
  39.                                 Michael van Elst
  40.  
  41. Internet: mlelstv@serpens.rhein.de
  42.                                 "A potential Snark may lurk in every tree."
  43.